import {useState} from "react";

function App() {
    const [value, setValue] = useState("")

    return (
        <div>
            <input
                value={value}
                onChange={event => setValue(event.target.value)}
                type="text"/>
        </div>
    )
}

export default App;
